<?php
/**
 * *
 *  * ============================================================================
 *  * Created by PhpStorm.
 *  * User: Ice
 *  * 邮箱: ice@sbing.vip
 *  * 网址: https://sbing.vip
 *  * Date: 2019/9/19 下午3:33
 *  * ============================================================================.
 */

namespace app\agent\controller;

use app\common\model\User;
use app\common\controller\Agent;
use think\facade\Db;

/**
 * 控制台.
 *
 * @icon fa fa-dashboard
 * @remark 用于展示当前系统中的统计数据、统计报表及重要实时数据
 */
class Dashboard extends Agent
{
    /**
     * 查看
     */
    public function index()
    {
        $user=$this->auth->getUserInfo();

        $this->view->assign('user', $user);

        return $this->view->fetch();
    }
}
